package eleme.openapi.sdk.api.entity.content;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class Credentials {

    /**
     * efs配置access_key
     */
    private String accessKeyId;

    public String getAccessKeyId() {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId) {
        this.accessKeyId = accessKeyId;
    }

    /**
     * efs配置access_secret
     */
    private String secretAccessKey;

    public String getSecretAccessKey() {
        return secretAccessKey;
    }

    public void setSecretAccessKey(String secretAccessKey) {
        this.secretAccessKey = secretAccessKey;
    }

    /**
     * efs配置Token，用于efs临时授权访问
     */
    private String sessionToken;

    public String getSessionToken() {
        return sessionToken;
    }

    public void setSessionToken(String sessionToken) {
        this.sessionToken = sessionToken;
    }

    /**
     * 有效期
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8")
    private Date expiration;

    public Date getExpiration() {
        return expiration;
    }

    public void setExpiration(Date expiration) {
        this.expiration = expiration;
    }

}
